
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="/wondershare/js/task.js"></script>
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />
</head>
<body >
<h1>
<span class="action-span">
<a href="/wondershare/task_site.php?action=editData">添加站点</a>
</span>
<span class="action-span1">
站点管理
</span>
</h1>

<table width="100%" cellspacing="1" cellpadding="2" id="list-table" class="list-div">
<tbody>
  <tr>
    <th >ID</th>
    <th>站点名称</th>
	<th>站点域名</th>
    <th>一级菜单ID</th>
	<th>是否做CDN</th>
    <th>CDN邮件地址</th>
    <th>修改人</th>
    <th>修改时间</th>
    <th>编辑</th>
  </tr>
  
<{foreach from=$site_rows item=item}>
  <tr align="center"  id="tr_<{$item.sId}>">
	<td width="5%" align="center"  >
	    <input value="<{$item.sId}>" name="ID[]" type="checkbox" ><{$item.sId}>
	</td><td width="10%" align="center"><{$item.sName|escape}></td>
	<td width="15%"><{$item.sDomainName|escape}></td>
    <td width="5%"><{$item.sMid}></td>
	<td width="10%" align="center"><{if $item.sIsCdn == 1}> 是 <{else}> 否<{/if}></td>
	<td width="15%"><{$item.sCdnEmail|escape}></td>
 
 	<td width="10%" align="center">
	<{$item.sUpdateUser|escape}>
	</td>
 	<td width="15%" align="center">
	<{$item.sUpdateTime}>
	</td> 
	<td width="15%" align="center">
     <a href="javascript:void(0);" onclick="deleteInfo(<{$item.sId}>, 'oneDel', 'task_site')" >删除</a> | 
	<a href="/wondershare/task_site.php?action=editData&sId=<{$item.sId}>" > 编辑 </a>| 
	<a href="/wondershare/task_manage.php?action=index&type=admin&sId=<{$item.sId}>" > 查看任务 </a>
    </td>
  </tr>
 <{/foreach}>

  <tr>
	    <td align="center">
        <input name="checkall" value="checked" 
        onclick="v=document.getElementsByName('ID[]');if(this.checked){for(i=0;i<v.length;i++)v[i].checked=true;}else{for(i=0;i<v.length;i++)v[i].checked=false;}" 
        type="checkbox" />全选
        </td>
		<td colspan="9">
        <input name="sub" value="删除" type="button"  style="margin-left:10px; margin-right:10px;" 
        onclick="deleteInfo(0, 'moreDel', 'task_site');" /> 
		<{$page_url}>
         共有 <span id="total"><{$total}> </span>条记录
        </td>
	</tr>
  </tbody>
</table>
</body>
</html>